import request from '@/utils/request'
const api = {
  //* ************************客户汇总api**************start
  // 分页获得匹配的客户数据列表
  QueryPageCustomerList(data, method) {
    return request({
      url: '/api/OrderBusniess/QueryPageCustomerList',
      method: method || 'post',
      data: data
    })
  },
  // 创建新客户
  CreateNewCustomer(data, method) {
    return request({
      url: '/api/OrderBusniess/CreateNewCustomer',
      method: method || 'post',
      data: data
    })
  },
  // 修改客户基本信息
  UpdateCustomerBaseData(data, method) {
    return request({
      url: '/api/OrderBusniess/UpdateCustomerBaseData',
      method: method || 'post',
      data: data
    })
  },
  // 修改客户联系人信息
  UpdateCustomerContactData(data, method) {
    return request({
      url: '/api/OrderBusniess/UpdateCustomerContactData',
      method: method || 'post',
      data: data
    })
  },
  // 修改客户开票信息
  UpdateCustomerInvoiceData(data, method) {
    return request({
      url: '/api/OrderBusniess/UpdateCustomerInvoiceData',
      method: method || 'post',
      data: data
    })
  },
  // 获取客户基本信息
  QueryCustomerDetail(data, method) {
    return request({
      url: '/api/OrderBusniess/QueryCustomerDetail',
      method: method || 'post',
      data: data
    })
  },
  // 获得某个客户的标签数据
  QueryCustomersTags(data, method) {
    return request({
      url: '/api/OrderBusniess/QueryCustomersTags',
      method: method || 'post',
      data: data
    })
  },
  // 添加客户标签
  AddCustomerTag(data, method) {
    return request({
      url: '/api/OrderBusniess/AddCustomerTag',
      method: method || 'post',
      data: data
    })
  },
  // 添加客户收货地址
  AddReceiveAddress(data, method) {
    return request({
      url: '/api/OrderBusniess/AddReceiveAddress',
      method: method || 'post',
      data: data
    })
  },
  // 设置默认客户收货地址
  SetDefaultReceiveAddress(data, method) {
    return request({
      url: '/api/OrderBusniess/SetDefaultReceiveAddress',
      method: method || 'post',
      data: data
    })
  },
  // 删除客户收货地址
  DeleteReceiveAddress(data, method) {
    return request({
      url: '/api/OrderBusniess/DeleteReceiveAddress',
      method: method || 'post',
      data: data
    })
  },
  // 删除客户标签
  DeleteCustomerTag(data, method) {
    return request({
      url: '/api/OrderBusniess/DeleteCustomerTag',
      method: method || 'post',
      data: data
    })
  },
  // 修改客户收货地址
  UpdateReceiveAddress(data, method) {
    return request({
      url: '/api/OrderBusniess/UpdateReceiveAddress',
      method: method || 'post',
      data: data
    })
  },
  // 获得某个客户的收货地址数据
  QueryCustomersReceiveAddresses(data, method) {
    return request({
      url: '/api/OrderBusniess/QueryCustomersReceiveAddresses',
      method: method || 'post',
      data: data
    })
  },
  // 删除客户
  DeleteCustomer(data, method) {
    return request({
      url: '/api/OrderBusniess/DeleteCustomer',
      method: method || 'post',
      data: data
    })
  },
  // 禁用/启用客户
  DisableorEnableCustomer(data, method) {
    return request({
      url: '/api/OrderBusniess/DisableorEnableCustomer',
      method: method || 'post',
      data: data
    })
  },

  // 获取业务订单类型
  GetSaleOrderTypeDataList(data, method) {
    return request({
      url: 'api/Public/GetSaleOrderTypeDataList',
      method: method || 'post',
      data: data
    })
  },
  // 获取某个客户的订单统计数据
  GetCustomersSaleOrderStatData(data, method) {
    return request({
      url: '/api/OrderBusniess/GetCustomersSaleOrderStatData',
      method: method || 'post',
      data: data
    })
  },
  // 分页获取匹配的销售订单数据
  GetMatchPageSaleOrders(data, method) {
    return request({
      url: '/api/OrderBusniess/GetMatchPageSaleOrders',
      method: method || 'post',
      data: data
    })
  },
  // 分页获取客户汇总
  GetCustomersMatchPageSaleOrders(data, method) {
    return request({
      url: '/api/OrderBusniess/GetCustomersMatchPageSaleOrders',
      method: method || 'post',
      data: data
    })
  },
  // 分页获取客户资质数据
  PageCustomersCertifications(data, method) {
    return request({
      url: '/api/OrderBusniess/PageCustomersCertifications',
      method: method || 'post',
      data: data
    })
  },
  // 上传客户资质
  UploadCustomerCertification(data, method) {
    return request({
      url: '/api/OrderBusniess/UploadCustomerCertification',
      method: method || 'post',
      data: data
    })
  },
  // 预览客户资质文件
  PreviewCertificationFile(data, method) {
    return request({
      url: '/api/OrderBusniess/PreviewCertificationFile',
      method: method || 'post',
      data: data
    })
  },
  // 下载客户资质文件
  DownLoadCertificationFile(data, method) {
    return request({
      url: '/api/OrderBusniess/DownLoadCertificationFile',
      method: method || 'post',
      data: data
    })
  },
  // 删除客户资质
  DeleteCustomerCertification(data, method) {
    return request({
      url: '/api/OrderBusniess/DeleteCustomerCertification',
      method: method || 'post',
      data: data
    })
  },
  // 修改客户资质
  UpdateCustomerCertification(data, method) {
    return request({
      url: '/api/OrderBusniess/UpdateCustomerCertification',
      method: method || 'post',
      data: data
    })
  },
  // 分页获取客户合同数据
  PageCustomersContracts(data, method) {
    return request({
      url: '/api/OrderBusniess/PageCustomersContracts',
      method: method || 'post',
      data: data
    })
  },
  // 上传客户合同
  UploadCustomerContract(data, method) {
    return request({
      url: '/api/OrderBusniess/UploadCustomerContract',
      method: method || 'post',
      data: data
    })
  },
  // 修改客户合同
  UpdateCustomerContract(data, method) {
    return request({
      url: '/api/OrderBusniess/UpdateCustomerContract',
      method: method || 'post',
      data: data
    })
  },
  // 删除客户合同
  DeleteCustomerContract(data, method) {
    return request({
      url: '/api/OrderBusniess/DeleteCustomerContract',
      method: method || 'post',
      data: data
    })
  },
  // 预览客户合同文件
  PreviewContractFile(data, method) {
    return request({
      url: '/api/OrderBusniess/PreviewContractFile',
      method: method || 'post',
      data: data
    })
  },
  // 下载客户合同文件
  DownLoadContractFile(data, method) {
    return request({
      url: '/api/OrderBusniess/DownLoadContractFile',
      method: method || 'post',
      data: data
    })
  },
  // 获取客户合同明细数据
  GetCustomerContractDetail(data, method) {
    return request({
      url: '/api/OrderBusniess/GetCustomerContractDetail',
      method: method || 'post',
      data: data
    })
  },
  // 获得客户资料类型数据
  QueryInformationTypeDataList(data, method) {
    return request({
      url: '/api/OrderBusniess/QueryInformationTypeDataList',
      method: method || 'post',
      data: data
    })
  },
  // 分页获取客户资料数据
  PageCustomerInformations(data, method) {
    return request({
      url: '/api/OrderBusniess/PageCustomerInformations',
      method: method || 'post',
      data: data
    })
  },
  // 上传客户资料
  UploadCustomerInformation(data, method) {
    return request({
      url: '/api/OrderBusniess/UploadCustomerInformation',
      method: method || 'post',
      data: data
    })
  },
  // 修改客户资料
  UpdateCustomerInformation(data, method) {
    return request({
      url: '/api/OrderBusniess/UpdateCustomerInformation',
      method: method || 'post',
      data: data
    })
  },
  // 删除客户资料
  DeleteCustomerInformation(data, method) {
    return request({
      url: '/api/OrderBusniess/DeleteCustomerInformation',
      method: method || 'post',
      data: data
    })
  },
  // 预览客户资料文件
  PreviewInformationFile(data, method) {
    return request({
      url: '/api/OrderBusniess/PreviewInformationFile',
      method: method || 'post',
      data: data
    })
  },
  // 下载客户资料文件
  DownLoadInformationFile(data, method) {
    return request({
      url: '/api/OrderBusniess/DownLoadInformationFile',
      method: method || 'post',
      data: data
    })
  },
  // ************业务开单************start*************
  // 初始化销售订单
  InitializeSaleOrder(data, method) {
    return request({
      url: '/api/OrderBusniess/InitializeSaleOrder',
      method: method || 'post',
      data: data
    })
  },
  // 获得匹配的客户数据列表
  QueryMatchCustomerList(data, method) {
    return request({
      url: '/api/OrderBusniess/QueryMatchCustomerList',
      method: method || 'post',
      data: data
    })
  },

  // 获取客户匹配的合同数据列表
  QueryCustomersContracts(data, method) {
    return request({
      url: '/api/OrderBusniess/QueryCustomersContracts',
      method: method || 'post',
      data: data
    })
  },
  // 获取某个订单的客户资质数据列表
  QueryOrdersCustomersCertifications(data, method) {
    return request({
      url: '/api/OrderBusniess/QueryOrdersCustomersCertifications',
      method: method || 'post',
      data: data
    })
  },
  // 获取匹配的客户资质数据列表
  QueryCustomersCertifications(data, method) {
    return request({
      url: '/api/OrderBusniess/QueryCustomersCertifications',
      method: method || 'post',
      data: data
    })
  },
  // 上传订单客户资质（上传客户订单资质后直接与订单关联上）
  UploadOrderCertification(data, method) {
    return request({
      url: '/api/OrderBusniess/UploadOrderCertification',
      method: method || 'post',
      data: data
    })
  },
  // 修改订单客户资质数据
  UpdateOrderCertification(data, method) {
    return request({
      url: '/api/OrderBusniess/UpdateOrderCertification',
      method: method || 'post',
      data: data
    })
  },
  // 获取单个订单客户资质数据
  GetOneOrderCertification(data, method) {
    return request({
      url: '/api/OrderBusniess/GetOneOrderCertification',
      method: method || 'post',
      data: data
    })
  },
  // 删除订单客户资质数据
  DeleteOrderCertification(data, method) {
    return request({
      url: '/api/OrderBusniess/DeleteOrderCertification',
      method: method || 'post',
      data: data
    })
  },
  // 确认执行销售订单撤回操作
  RevocationSaleOrder(data, method) {
    return request({
      url: '/api/OrderBusniess/RevocationSaleOrder',
      method: method || 'post',
      data: data
    })
  },
  // 客户资质与订单关联（将客户资质与订单形成映射关系）
  OrdersCustomersCertificationMap(data, method) {
    return request({
      url: '/api/OrderBusniess/OrdersCustomersCertificationMap',
      method: method || 'post',
      data: data
    })
  },
  // 查询某个订单的客户资料数据列表
  QueryOrdersCustomersInformations(data, method) {
    return request({
      url: '/api/OrderBusniess/QueryOrdersCustomersInformations',
      method: method || 'post',
      data: data
    })
  },
  // 获取匹配的客户资料数据列表
  QueryCustomersInformations(data, method) {
    return request({
      url: '/api/OrderBusniess/QueryCustomersInformations',
      method: method || 'post',
      data: data
    })
  },
  // 获取单个订单客户资料数据
  GetOneOrderInformation(data, method) {
    return request({
      url: '/api/OrderBusniess/GetOneOrderInformation',
      method: method || 'post',
      data: data
    })
  },
  // 上传订单客户资料（上传客户订单资料后直接与订单关联上）
  UploadOrderInformation(data, method) {
    return request({
      url: '/api/OrderBusniess/UploadOrderInformation',
      method: method || 'post',
      data: data
    })
  },
  // 修改订单客户资料数据
  UpdateOrderInformation(data, method) {
    return request({
      url: '/api/OrderBusniess/UpdateOrderInformation',
      method: method || 'post',
      data: data
    })
  },
  // 删除订单客户资料数据
  DeleteOrderInformation(data, method) {
    return request({
      url: '/api/OrderBusniess/DeleteOrderInformation',
      method: method || 'post',
      data: data
    })
  },
  // 客户资料与订单关联（将客户资料与订单形成映射关系）
  OrdersCustomersInformationMap(data, method) {
    return request({
      url: '/api/OrderBusniess/OrdersCustomersInformationMap',
      method: method || 'post',
      data: data
    })
  },
  // 获得标签形状数据列表
  QueryTagShapeDataList(data, method) {
    return request({
      url: '/api/System/QueryTagShapeDataList',
      method: method || 'post',
      data: data
    })
  },
  // 获得标签形状数据列表
  QueryPrintingMaterialDataList(data, method) {
    return request({
      url: '/api/System/QueryPrintingMaterialDataList',
      method: method || 'post',
      data: data
    })
  },
  // 获取表面要求列表数据
  QuerySurfaceRequireDataList(data, method) {
    return request({
      url: '/api/System/QuerySurfaceRequireDataList',
      method: method || 'post',
      data: data
    })
  },
  // 获得印刷颜色数据列表（底膜颜色、刮开涂层颜色、刮开文字颜色等）
  QueryPrintingColorDataList(data, method) {
    return request({
      url: '/api/System/QueryPrintingColorDataList',
      method: method || 'post',
      data: data
    })
  },
  // 获得留胶材质数据列表
  QueryLiuJiaoTextureDataList(data, method) {
    return request({
      url: '/api/System/QueryLiuJiaoTextureDataList',
      method: method || 'post',
      data: data
    })
  },
  // 获取某个订单的详细数据
  GetSaleOrderDetail(data, method) {
    return request({
      url: '/api/OrderBusniess/GetSaleOrderDetail',
      method: method || 'post',
      data: data
    })
  },
  // 确认执行删除订单操作（删除后列表中看不到数据）
  DeleteSaleOrder(data, method) {
    return request({
      url: '/api/OrderBusniess/DeleteSaleOrder',
      method: method || 'post',
      data: data
    })
  },
  // 确认执行撤销订单操作（撤销后列表中看得到数据）
  CancelSaleOrder(data, method) {
    return request({
      url: '/api/OrderBusniess/CancelSaleOrder',
      method: method || 'post',
      data: data
    })
  },
  // 确认执行作废订单操作
  ScrapSaleOrder(data, method) {
    return request({
      url: '/api/OrderBusniess/ScrapSaleOrder',
      method: method || 'post',
      data: data
    })
  },
  // 确认执行订单存档操作
  SureSaveSaleOrder(data, method) {
    return request({
      url: '/api/OrderBusniess/SureSaveSaleOrder',
      method: method || 'post',
      data: data
    })
  },
  // 确认执行创建销售订单（保存销售订单数据）
  SureCreateSaleOrder(data, method) {
    return request({
      url: '/api/OrderBusniess/SureCreateSaleOrder',
      method: method || 'post',
      data: data
    })
  },
  // ************彩稿上传************start*************
  // 分页获取匹配的彩稿数据列表
  QueryPageColorDraftList(data, method) {
    return request({
      url: '/api/OrderBusniess/QueryPageColorDraftList',
      method: method || 'post',
      data: data
    })
  },
  // 创建彩稿单（上传彩稿）
  CreateColorDraftBill(data, method) {
    return request({
      url: '/api/OrderBusniess/CreateColorDraftBillNew',
      method: method || 'post',
      data: data
    })
  },
  // 修改彩稿单
  UpdateColorDraftBill(data, method) {
    return request({
      url: '/api/OrderBusniess/UpdateColorDraftBillNew',
      method: method || 'post',
      data: data
    })
  },
  // 获取某个订单的彩稿数据
  QueryOrdersColorDrafts(data, method) {
    return request({
      url: '/api/OrderBusniess/QueryOrdersColorDrafts',
      method: method || 'post',
      data: data
    })
  },

  // 获取某个彩稿单详细数据（彩稿单主数据 + 文件数据）
  QueryColorDraftDetail(data, method) {
    return request({
      url: '/api/OrderBusniess/QueryColorDraftDetail',
      method: method || 'post',
      data: data
    })
  },

  // 删除彩稿单
  DeleteColorDraftBill(data, method) {
    return request({
      url: '/api/OrderBusniess/DeleteColorDraftBill',
      method: method || 'post',
      data: data
    })
  },
  // 确认彩稿单
  SaveColorDraftBill(data, method) {
    return request({
      url: '/api/OrderBusniess/SaveColorDraftBill',
      method: method || 'post',
      data: data
    })
  },
  // 申请彩稿单撤审
  ApplyColorDraftCarefulCheck(data, method) {
    return request({
      url: '/api/OrderBusniess/ApplyColorDraftCarefulCheck',
      method: method || 'post',
      data: data
    })
  },
  // 取消彩稿单撤审
  CancelCarefulCheckColorDraft(data, method) {
    return request({
      url: '/api/OrderBusniess/CancelCarefulCheckColorDraft',
      method: method || 'post',
      data: data
    })
  },
  // 取消审核彩稿单
  CancelCheckColorDraftBill(data, method) {
    return request({
      url: '/api/OrderBusniess/CancelCheckColorDraftBill',
      method: method || 'post',
      data: data
    })
  },
  // 删除彩稿单文件
  DeleteColorDraftFile(data, method) {
    return request({
      url: '/api/OrderBusniess/DeleteColorDraftFile',
      method: method || 'post',
      data: data
    })
  },
  // 获取未上传彩稿的订单数据
  GetMatchNoUploadColorDraftSaleOrders(data, method) {
    return request({
      url: '/api/OrderBusniess/GetMatchNoUploadColorDraftSaleOrders',
      method: method || 'post',
      data: data
    })
  },

  // 重置采稿
  ResetColorDraftBill(data, method) {
    return request({
      url: '/api/OrderBusniess/ResetColorDraftBill',
      method: method || 'post',
      data: data
    })
  },
  // 彩稿日志
  QueryColorDraftCheckBills(data, method) {
    return request({
      url: '/api/OrderBusniess/QueryColorDraftCheckBills',
      method: method || 'post',
      data: data
    })
  },
  // 根据销售订单号获取与订单相关的数据【订单基本信息 + 产品标签数据 + 产品包装数据 + 标签关系（套装关系）数据】
  GetSaleOrderDataByOrderNo(data, method) {
    return request({
      url: '/api/OrderBusniess/GetSaleOrderDataByOrderNo',
      method: method || 'post',
      data: data
    })
  },

  // ************彩稿审核************start*************
  // 分页获取匹配待审核彩稿数据列表
  QueryPageCheckColorDraftList(data, method) {
    return request({
      url: '/api/OrderBusniess/QueryPageCheckColorDraftList',
      method: method || 'post',
      data: data
    })
  },
  // 审核明细
  QueryColorDraftCheckBillDetail(data, method) {
    return request({
      url: '/api/OrderBusniess/QueryColorDraftCheckBillDetail',
      method: method || 'post',
      data: data
    })
  },
  // 执行审核彩稿单
  ExcuteCheckColorDraft(data, method) {
    return request({
      url: '/api/OrderBusniess/ExcuteCheckColorDraftNew',
      method: method || 'post',
      data: data
    })
  },

  //存储产品标签的印刷颜色数据
  SaveProductTagPrintColors(data, method) {
    return request({
      url: '/api/OrderBusniess/SaveProductTagPrintColors',
      method: method || 'post',
      data: data
    })
  },
  // 执行彩稿单撤审审核
  CheckCarefulCheckColorDraft(data, method) {
    return request({
      url: '/api/OrderBusniess/CheckCarefulCheckColorDraft',
      method: method || 'post',
      data: data
    })
  },
  // ************************  发货管理 **************************
  // 新增发货单
  AddProduceLogistics(data, method) {
    return request({
      url: '/api/OrderBusniess/CreateSaleOrderDelivery',
      method: method || 'post',
      data: data
    })
  },

  // 新增批量发货单
  CreateSaleOrderDeliveryBatch(data, method) {
    return request({
      url: '/api/OrderBusniess/CreateSaleOrderDeliveryBatch',
      method: method || 'post',
      data: data
    })
  },

  // 删除发货单
  DeleteProduceLogistics(data, method) {
    return request({
      url: '/api/OrderBusniess/DeleteSaleOrderDelivery',
      method: method || 'post',
      data: data
    })
  },
  // 修改发货单
  UpdateProduceLogistics(data, method) {
    return request({
      url: '/api/OrderBusniess/UpdateSaleOrderDelivery',
      method: method || 'post',
      data: data
    })
  },
  // 作废发货单
  VoidProduceLogistics(data, method) {
    return request({
      url: '/api/OrderBusniess/CancelSaleOrderDelivery',
      method: method || 'post',
      data: data
    })
  },
  // 确认发货单
  SureProduceLogistics(data, method) {
    return request({
      url: '/api/OrderBusniess/SureSaleOrderDelivery',
      method: method || 'post',
      data: data
    })
  },

  //选择成品列表
  GetMatchSaleOrderDeliveryList(data, method) {
    return request({
      url: '/api/OrderBusniess/GetMatchSaleOrderDeliveryList',
      method: method || 'post',
      data: data
    })
  },

 

  // 分页列表
  GetMatchPageProduceLogisticss(data, method) {
    return request({
      url: '/api/OrderBusniess/GetMatchPageSaleOrderDeliveryList',
      method: method || 'post',
      data: data
    })
  },
  // 列表详情
  GetSingleProduceLogistics(data, method) {
    return request({
      url: '/api/OrderBusniess/GetSaleOrderDeliveryDetail',
      method: method || 'post',
      data: data
    })
  },
  // 获取待开生产任务单的销售订单数据列表
  GetWaitOpenProduceBillsSaleOrderDataList(data, method) {
    return request({
      url: '/api/OrderBusniess/GetWaitOpenProduceBillsSaleOrderDataList',
      method: method || 'post',
      data: data
    })
  },
  // 获取生产中的销售订单数据列表
  GetInProductionsSaleOrderDataList(data, method) {
    return request({
      url: '/api/OrderBusniess/GetInProductionsSaleOrderDataList',
      method: method || 'post',
      data: data
    })
  },
  // 获取待停工的销售订单数据列表
  GetWaitStopWorksSaleOrderDataList(data, method) {
    return request({
      url: '/api/OrderBusniess/GetWaitStopWorksSaleOrderDataList',
      method: method || 'post',
      data: data
    })
  },
  // 获取机台（生产设备）待开始的生产任务单数据
  GetWaitDoProduceTasksForEquipment(data, method) {
    return request({
      url: '/api/ProductionBusniess/GetWaitDoProduceTasksForEquipment',
      method: method || 'post',
      data: data
    })
  },
  // 获取机台（生产设备）待开始的生产任务单数据
  GetInProduceProduceTasksForEquipment(data, method) {
    return request({
      url: '/api/ProductionBusniess/GetInProduceProduceTasksForEquipment',
      method: method || 'post',
      data: data
    })
  },
  // 获取机台（生产设备）待停工的生产任务单数据
  GetWaitStopWorkProduceTasksForEquipment(data, method) {
    return request({
      url: '/api/ProductionBusniess/GetWaitStopWorkProduceTasksForEquipment',
      method: method || 'post',
      data: data
    })
  },
  // 获取某个机台某个生产任务单下面的生产工艺任务及作业任务数据【单个作业任务】
  GetEquipmentsProduceTaskData(data, method) {
    return request({
      url: '/api/ProductionBusniess/GetEquipmentsProduceTaskData',
      method: method || 'post',
      data: data
    })
  },

  // 分页获取产品管理列表
  GetPageProductList(data, method) {
    return request({
      url: '/api/OrderBusniess/GetPageProductList',
      method: method || 'post',
      data: data
    })
  },

  // 分页获取产品管理列表
  GetProductBriefList(data, method) {
    return request({
      url: '/api/OrderBusniess/GetProductBriefList',
      method: method || 'post',
      data: data
    })
  },

  // 获取所有新版的产品（新建改版产品时使用）
  GetMatchProductViewList(data, method) {
    return request({
      url: '/api/OrderBusniess/GetMatchProductViewList',
      method: method || 'post',
      data: data
    })
  },

  // 新增产品
  AddProduct(data, method) {
    return request({
      url: '/api/OrderBusniess/AddProduct',
      method: method || 'post',
      data: data
    })
  },

  // 根据产品编号获取产品详情
  GetSingleProductByProductCode(data, method) {
    return request({
      url: '/api/OrderBusniess/GetSingleProductByProductCode',
      method: method || 'post',
      data: data
    })
  },

  // 修改产品基础信息
  UpdateProductBaseData(data, method) {
    return request({
      url: '/api/OrderBusniess/UpdateProductBaseData',
      method: method || 'post',
      data: data
    })
  },

  // 保存成品型号信息
  SaveProductSpecification(data, method) {
    return request({
      url: '/api/OrderBusniess/SaveProductSpecification',
      method: method || 'post',
      data: data
    })
  },

  // 修改阶梯价信息
  UpdateProductSteppedPriceInfo(data, method) {
    return request({
      url: '/api/OrderBusniess/UpdateProductSteppedPriceInfo',
      method: method || 'post',
      data: data
    })
  },

  // 修改产品信息
  UpdateProductInfoData(data, method) {
    return request({
      url: '/api/OrderBusniess/UpdateProductInfoData',
      method: method || 'post',
      data: data
    })
  },

  // 分页获取系统字典明细项数据
  QueryPageDictionaryValueDataList(data, method) {
    return request({
      url: '/api/System/QueryPageDictionaryValueDataList',
      method: method || 'post',
      data: data
    })
  },

  // 新增系统字典明细项
  AddDictionaryValue(data, method) {
    return request({
      url: '/api/System/AddDictionaryValue',
      method: method || 'post',
      data: data
    })
  },

  // 保存标签信息
  UpdateProductTag(data, method) {
    return request({
      url: '/api/OrderBusniess/UpdateProductTag',
      method: method || 'post',
      data: data
    })
  },

  // 保存彩稿文件
  SaveColorDratfFile(data, method) {
    return request({
      url: '/api/OrderBusniess/SaveColorDratfFile',
      method: method || 'post',
      data: data
    })
  },

  // 删除彩稿文件
  DeleteProductColorDratfFile(data, method) {
    return request({
      url: '/api/OrderBusniess/DeleteProductColorDratfFile',
      method: method || 'post',
      data: data
    })
  },

  // 修改印刷颜色信息
  UpdateProductPrintingColor(data, method) {
    return request({
      url: '/api/OrderBusniess/UpdateProductPrintingColor',
      method: method || 'post',
      data: data
    })
  },

  // 修改产品生产信息
  UpdateProductProductionData(data, method) {
    return request({
      url: '/api/OrderBusniess/UpdateProductProductionData',
      method: method || 'post',
      data: data
    })
  },

  // 修改生产材料信息
  UpdateProductMaterial(data, method) {
    return request({
      url: '/api/OrderBusniess/UpdateProductMaterial',
      method: method || 'post',
      data: data
    })
  },

  // 修改生产工艺信息
  UpdateProductTechnique(data, method) {
    return request({
      url: '/api/OrderBusniess/UpdateProductTechnique',
      method: method || 'post',
      data: data
    })
  },

  // 工艺配置-选择工艺数据
  GetMatchProductCrafts(data, method) {
    return request({
      url: '/api/ProductCraft/GetMatchProductCrafts',
      method: method || 'post',
      data: data
    })
  },

  // 物料-分页列表
  GetMatchPageGoods(data, method) {
    return request({
      url: '/api/Goods/GetMatchPageGoods',
      method: method || 'post',
      data: data
    })
  },

  // 确认勾选工艺数据
  SureChooseProduceCraftEquipmentMaps(data, method) {
    return request({
      url: '/api/ProductionBusniess/SureChooseProduceCraftEquipmentMaps',
      method: method || 'post',
      data: data
    })
  },

  // 修改产品生产信息
  UpdateProductPackage(data, method) {
    return request({
      url: '/api/OrderBusniess/UpdateProductPackage',
      method: method || 'post',
      data: data
    })
  },

  // 分页获取纸箱配置数据列表
  GetPageCartonConfigurationList(data, method) {
    return request({
      url: '/api/System/GetPageCartonConfigurationList',
      method: method || 'post',
      data: data
    })
  },

  // 修改装箱信息
  UpdateProductPackingInfo(data, method) {
    return request({
      url: '/api/OrderBusniess/UpdateProductPackingInfo',
      method: method || 'post',
      data: data
    })
  },

  // 修改产品状态
  UpdateProductState(data, method) {
    return request({
      url: '/api/OrderBusniess/UpdateProductState',
      method: method || 'post',
      data: data
    })
  },

  // 分页获取订单列表
  GetPageSaleOrderGroup(data, method) {
    return request({
      url: '/api/OrderBusniess/GetPageSaleOrderGroup',
      method: method || 'post',
      data: data
    })
  },

  // 新建订单
  AddSaleOrderGroup(data, method) {
    return request({
      url: '/api/OrderBusniess/AddSaleOrderGroup',
      method: method || 'post',
      data: data
    })
  },

  // 获取订单详情接口
  GetSaleOrderGroupDetail(data, method) {
    return request({
      url: '/api/OrderBusniess/GetSaleOrderGroupDetail',
      method: method || 'post',
      data: data
    })
  },

  // 修改订单状态
  UpdateSaleOrderGroupState(data, method) {
    return request({
      url: '/api/OrderBusniess/UpdateSaleOrderGroupState',
      method: method || 'post',
      data: data
    })
  },

  // 编辑订单详情
  UpdateSaleOrderGroup(data, method) {
    return request({
      url: '/api/OrderBusniess/UpdateSaleOrderGroup',
      method: method || 'post',
      data: data
    })
  },

  // 导入
  ImportProductSpecification(data, method) {
    return request({
      url: '/api/OrderBusniess/ImportProductSpecification',
      method: method || 'post',
      data: data
    })
  },

  // 根据订单编码获取发货列表
  GetSaleOrderDeliveryList(data, method) {
    return request({
      url: '/api/OrderBusniess/GetSaleOrderDeliveryList',
      method: method || 'post',
      data: data
    })
  },

  // 获取发货单明细
  GetSaleOrderDeliveryDetail(data, method) {
    return request({
      url: '/api/OrderBusniess/GetSaleOrderDeliveryDetail',
      method: method || 'post',
      data: data
    })
  },

  // 根据订单编码获取发货明细数据
  GetSaleOrderDeliveryMxBySaleOrderGroupCode(data, method) {
    return request({
      url: '/api/OrderBusniess/GetSaleOrderDeliveryMxBySaleOrderGroupCode',
      method: method || 'post',
      data: data
    })
  },

  // 根据客户Code获取寄方信息
  GetSenderInformation(data, method) {
    return request({
      url: '/api/OrderBusniess/GetSenderInformation',
      method: method || 'post',
      data: data
    })
  },

  // 获取客户所有收货地址数据
  GetMatchCustomerReceiveAddresss(data, method) {
    return request({
      url: '/api/OrderBusniess/GetMatchCustomerReceiveAddresss',
      method: method || 'post',
      data: data
    })
  },

  // 新增客户收货地址
  AddReceiveAddress(data, method) {
    return request({
      url: '/api/OrderBusniess/AddReceiveAddress',
      method: method || 'post',
      data: data
    })
  },

  // 获取发货单明细
  GetSaleOrderDeliveryDetail(data, method) {
    return request({
      url: '/api/OrderBusniess/GetSaleOrderDeliveryDetail',
      method: method || 'post',
      data: data
    })
  },
  
  // 获取发货单明细
  GetSaleOrderDeliveryDetail(data, method) {
    return request({
      url: '/api/OrderBusniess/GetSaleOrderDeliveryDetail',
      method: method || 'post',
      data: data
    })
  },

  // 更新寄方信息
  UpdateSenderInformation(data, method) {
    return request({
      url: '/api/OrderBusniess/UpdateSenderInformation',
      method: method || 'post',
      data: data
    })
  },

  // 获取生产工艺资料卡详情
  GetProductTechniqueCardDetails(data, method) {
    return request({
      url: '/api/OrderBusniess/GetProductTechniqueCardDetails',
      method: method || 'post',
      data: data
    })
  },

  // 修改生产工艺资料卡信息
  UpdateProductTechniqueCard(data, method) {
    return request({
      url: '/api/OrderBusniess/UpdateProductTechniqueCard',
      method: method || 'post',
      data: data
    })
  },

  // 修改产品工艺资料卡锁定状态
  UpdateProductTechniqueCardIsLocked(data, method) {
    return request({
      url: '/api/OrderBusniess/UpdateProductTechniqueCardIsLocked',
      method: method || 'post',
      data: data
    })
  },

  // 根据客户编码获取发货明细数据
  GetSaleOrderDeliveryMxByCustomerCode(data, method) {
    return request({
      url: '/api/OrderBusniess/GetSaleOrderDeliveryMxByCustomerCode',
      method: method || 'post',
      data: data
    })
  },

  // 修改备注
  UpdateRemarksBySaleOrder(data, method) {
    return request({
      url: '/api/OrderBusniess/UpdateSaleOrderRemarks',
      method: method || 'post',
      data: data
    })
  },
}
export default api
